<script setup>


const show  =() => {
  uni.showModal({
    title: '提示',
    content: '这是一个模态弹窗',
  })
  setTimeout(() => {
    uni.showToast({
      title: '提示',
      icon: 'none',
      duration: 2000})
  },1000)
}
</script>
<template>
  <view>
    category
    <button @click="show ">弹框</button>
  </view>
</template>



<style lang="scss" scoped>

</style>